package org.example;

// 按两次 Shift 打开“随处搜索”对话框并输入 `show whitespaces`，
// 然后按 Enter 键。现在，您可以在代码中看到空格字符。
public class Main {
    public static void main(String[] args) {
        ThreadJoin a=new ThreadJoin();
        Thread driver=new Thread(a);
        Thread worker=new Thread(a);
        Thread administrator=new Thread(a);
        driver. setName("货车司机");
        worker. setName("装运工");
        administrator. setName("仓库管理员");
        a. setThread(driver, worker, administrator);
        driver. start();

    }
}